package com.demo.component.ollama.generate.inter;

import org.springframework.ai.chat.model.ChatResponse;
import reactor.core.publisher.Flux;

public interface OllamaService {

  String generateAnswer(String question);

  Flux<ChatResponse> generateStream(String prompt);

}
